|
CAMERA EXIST
Returns a value of one if the specified camera exists, otherwise returns zero.
Return Integer=CAMERA EXIST(Camera Number)
Camera Number
Integer
The camera number
Returns a value of one if the specified camera exists, otherwise returns zero
autocam on
make matrix 1,4000,4000,100,100
set matrix height 1,50,50,500
update matrix 1
backdrop on
color backdrop rgb(128,0,0)
while inkey$()<>"x"
set cursor 0,0
print "camera exist ",camera exist(0)
x#=x#+mousemovey() : y#=y#+mousemovex() : rotate camera 0,x#,y#,0
endwhile
backdrop off
delete matrix 1
autocam off
end
CAMERA Commands Menu
Index
|